package com.gooluke.auth.controller;

import com.gooluke.auth.enums.AuthException;
import com.gooluke.auth.util.ExceptionUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gooluke
 * description
 * datetime 2025-03-28 16:23
 */
@RestController
@RequestMapping("/api/auth/test")
public class TestController {

    @RequestMapping("/1")
    public String test() {
        ExceptionUtil.throwException(AuthException.AUTHENTICATION);
        return "test";
    }

}
